package com.iplant.ams.service.po.ams;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.annotation.field.DBField;

import java.io.Serializable;

@DBBasePO(TableName = "ams_receive_goods", CheckName = {"Code"}, CodeAuto = true, CodePrefix = "RCGS_{yyyyMMdd}", CodeNum = 4)
public class AMSReceiveGoods extends BasePO implements Serializable {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 采购单ID（若此收货单不是由采购单创建的，则此值无效）
     */
    @DBField
    public int OrderID=0;

    /**
     * 供应商ID
     */
    @DBField
    public int SupplierID = 0;

    /**
     * 供应商名称
     */
    public String SupplierName = "";

    /**
     * 当前状态
     */
    @DBField
    public int CurrentStatus = 0;

    public AMSReceiveGoods() {
        super();
    }

    @JsonProperty("OrderID")
    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }

    @JsonProperty("SupplierID")
    public int getSupplierID() {
        return SupplierID;
    }

    public void setSupplierID(int supplierID) {
        SupplierID = supplierID;
    }

    @JsonProperty("SupplierName")
    public String getSupplierName() {
        return SupplierName;
    }

    public void setSupplierName(String supplierName) {
        SupplierName = supplierName;
    }

    @JsonProperty("CurrentStatus")
    public int getCurrentStatus() {
        return CurrentStatus;
    }

    public void setCurrentStatus(int currentStatus) {
        CurrentStatus = currentStatus;
    }
}
